package com.intellagric.dao.facility;

import com.intellagric.pojo.Facility;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface FacilityDao {
    int batchDeleteByPrimaryKey(String[] ids);

    int batchDelete(String[] ids);

    List<Facility> selectList();

    List<Facility> selectListByCategory(String categoryId);

    List<Facility> selectListByKeyword(String keyword);

    int batchInsert(@Param("params") List<String> facilityList);
}
